﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net;
using System.Collections;


namespace NetworkScannerC
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //ArrayList shares;
            //shares = smblist.Shares("10.0.3.200");
            //foreach (String share in shares)
            //{
            //    MessageBox.Show(share);
            //}
            //computerScan.checkConnectivity("127.0.0.1");
            //ArrayList windowsFiles = computerScan.sambaList("C:\\");
            //String totalFiles = windowsFiles.Count.ToString();
            //foreach (String file in windowsFiles)
            //{
            //    MessageBox.Show(file);
            //}
            //MessageBox.Show(totalFiles);
        }
    }
}
